package com.zw.mes.module.shipments.mapper;


import com.zw.mes.entity.shipments.*;
import com.zw.mes.module.shipments.model.DebuggerAll;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.Date;
import java.util.List;

@Repository
public interface InstDispatchingCreateMapper {

    /**
     * 调试反馈列表
     * @param instDispatchingList
     * @return
     */
    List<InstDispatchingList> findinstDispatchingQuery(InstDispatchingList instDispatchingList);

    /**
     *根据外键查询安装明细
     * @param instDispatchingDetail
     * @return
     */
    List<InstDispatchingDetail> findinstDispatchingDetailQuery(InstDispatchingDetail instDispatchingDetail);

    /**
     * 附件查询
     * @param instDispatchingFile
     * @return
     */
    List<InstDispatchingFile> findinstDispatchingFileQuery(InstDispatchingFile instDispatchingFile);

    /**
     * 调试反馈明细集合
     * @param instDebuggingDetail
     * @return
     */
    List<InstDebuggingDetail> findinstDispatchQuery(InstDebuggingDetail instDebuggingDetail);

    /**
     * 反写状态
     * @param instDebuggingDetail
     * @return
     */
    int updateProStatus(InstDebuggingDetail instDebuggingDetail);

    List<InstDebuggingFile> findinstDebuggingFileQuery(InstDebuggingFile instDebuggingFile);

    int selectDispatchingCount();

    int selectDispatchingExamineCount();
}
